<?php
namespace App\Query;

use App\Model\Admin;

class AdminQuery extends \HyperfStore\Query
{
    // 构建模型
    protected static function build()
    {
        return Admin::latest();
    }
    
    // 渴望加载
    protected static function with()
    {
        return ['daili'];
    }
}